using System;
using System.Windows;
namespace Microsoft.Phone.Controls
{
	public class SlideTransition : TransitionElement
	{
		public static readonly DependencyProperty ModeProperty = DependencyProperty.Register("Mode", typeof(SlideTransitionMode), typeof(SlideTransition), null);
		public SlideTransitionMode Mode
		{
			get
			{
				return (SlideTransitionMode)base.GetValue(SlideTransition.ModeProperty);
			}
			set
			{
				base.SetValue(SlideTransition.ModeProperty, value);
			}
		}
		public override ITransition GetTransition(UIElement element)
		{
			return Transitions.Slide(element, this.Mode);
		}
	}
}
